<?php

namespace asyncService\service;

interface interfaceService
{
    /**
     * 发布接口
     * @return mixed
     */
    static public function publish($value);

    /**
     * 订阅接口
     * @return mixed
     */
    public function subscribe();

    /**
     * 服务重启
     * @return mixed
     */
    public function restart();

    /**
     * 服务关闭
     * @return mixed
     */
    public function stop();

    /**
     * 服务开启
     * @return mixed
     */
    public function start();
}